package com.campus.delivery.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 配送员申请Bean
 */
@Data
@ApiModel("配送员申请Bean")
public class DeliveryApplyBean {
    @ApiModelProperty("配送员用户ID")
    @NotNull(message = "配送员用户ID不能为空")
    private Integer deliveryUserId;

    @ApiModelProperty("姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty("身份证")
    @NotBlank(message = "身份证不能为空")
    private String idCard;

    @ApiModelProperty("学生证")
    @NotBlank(message = "学生证不能为空")
    private String studentCard;

    @ApiModelProperty("备注")
    private String remark;
}